Needle angle measurement